package com.bawei.day0129.utils;



import com.bawei.day0129.Bean.JkzxBean;
import com.bawei.day0129.Bean.JkzxtabBean;
import com.bawei.day0129.Bean.LogBean;
import com.bawei.day0129.Bean.XbBean;
import com.bawei.day0129.Bean.XqBean;
import com.bawei.day0129.Bean.YzmBean;
import com.bawei.day0129.Bean.ZhuCheBean;
import com.bawei.day0129.Bean.ZsBean;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface Apisices {
    @GET("health/share/v1/bannersShow")
    Observable<XbBean>bannersShow();

    @POST("health/user/v1/login")
    Observable<LogBean>getLogin(@Query("email")String email, @Query("pwd")String pwd);

    @GET("health/share/knowledgeBase/v1/findDepartment")
    Observable<ZsBean> findDepartment();

    @GET("health/share/information/v1/findInformationPlateList")
    Observable<JkzxtabBean> findInformationPlateList();

    @GET("health/share/information/v1/findInformationList")
    Observable<JkzxBean> findInformationList(@Query("plateId")int plateId, @Query("page")int page, @Query("count")int count);

    @POST("health/user/v1/register")
    Observable<ZhuCheBean> getZhuChe(@Query("email") String email, @Query("code")String code, @Query("pwd1") String pwd1, @Query("pwd2")String pwd2, @Query("invitationCode") String invitationCode);

    @POST("health/user/v1/sendOutEmailCode")
    Observable<YzmBean>getYzm(@Query("email")String email);

    @GET("health/share/information/v1/findInformation")
    Observable<XqBean> findInformation(@Query("infoId")int infoId);
}
